<html>
<head>
<meta charset="iso-8859-1">
<link rel="stylesheet" href="../brython.css">

<link rel="stylesheet" href="console.css">

<script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript">
</script>

<script src="../brython_builtins.js"></script>
<script src="../py2js.js"></script>
<script src="../py_utils.js"></script>
<script src="../py_classes.js"></script>
<script src="../py_import.js"></script>
<script src="../py_list.js"></script>
<script src="../py_string.js"></script>
<script src="../py_dom.js"></script>
<script src="../py_ajax.js"></script>
<script src="../py_local_storage.js"></script>

<script type="text/python" src="console.py">
</script>
</head>
<body onload="brython(1)">
<center>
<table id="banner" cellpadding=0 cellspacing=0>
<tr>
<td><a class="banner" href="../index.html">Home</a></td>
<td><a class="banner" href="console_en.html">Console</a></td>
<td><a class="banner" href="../gallery/gallery_en.html">Gallery</a></td>
<td><a class="banner" href="/doc/en/index.html">Documentation</a>
<td><a class="banner" href="http://code.google.com/p/brython/downloads/list" target="_blank">Download</a></td>
<td><a class="banner" href="http://code.google.com/p/brython/" target="_blank">Development</a></td>
<td><a class="banner" href="../groups_en.html" target="_blank">Groups</a></td>
</tr>
</table>

<div style="text-align:center">
<img src="../brython.png"></img><br><b>browser python</b>
<br>Brython version: <span id="version"></span>
</div>
</center>

<div id="container">
<div id="left-div">
<div style="padding: 3px 3px 3px 3px;">
Theme:
 <select id="ace_theme" onChange="change_theme(event)">
<optgroup label="Bright">
<option value="ace/theme/chrome">Chrome</option>
<option value="ace/theme/clouds">Clouds</option>
<option value="ace/theme/crimson_editor">Crimson Editor</option>
<option value="ace/theme/dawn">Dawn</option>
<option value="ace/theme/dreamweaver">Dreamweaver</option>
<option value="ace/theme/eclipse">Eclipse</option>
<option value="ace/theme/github">GitHub</option>
<option value="ace/theme/solarized_light">Solarized Light</option>
<option value="ace/theme/textmate">TextMate</option>
<option value="ace/theme/tomorrow">Tomorrow</option>
<option value="ace/theme/xcode">XCode</option>
</optgroup>
<optgroup label="Dark">
<option value="ace/theme/ambiance">Ambiance</option>
<option value="ace/theme/chaos">Chaos</option>
<option value="ace/theme/clouds_midnight">Clouds Midnight</option>
<option value="ace/theme/cobalt">Cobalt</option>
<option value="ace/theme/idle_fingers">idleFingers</option>
<option value="ace/theme/kr_theme">krTheme</option>
<option value="ace/theme/merbivore">Merbivore</option>
<option value="ace/theme/merbivore_soft">Merbivore Soft</option>
<option value="ace/theme/mono_industrial">Mono Industrial</option>
<option value="ace/theme/monokai">Monokai</option>
<option value="ace/theme/pastel_on_dark">Pastel on dark</option>
<option value="ace/theme/solarized_dark">Solarized Dark</option>
<option value="ace/theme/twilight">Twilight</option>
<option value="ace/theme/tomorrow_night">Tomorrow Night</option>
<option value="ace/theme/tomorrow_night_blue">Tomorrow Night Blue</option>
<option value="ace/theme/tomorrow_night_bright">Tomorrow Night Bright</option>
<option value="ace/theme/tomorrow_night_eighties">Tomorrow Night 80s</option>
<option value="ace/theme/vibrant_ink">Vibrant Ink</option>
</optgroup>
</select>

Test suite:
<select name="filename" onChange="load(event)">
  <option value="test_suite.py">basic test suite</option>
  <option value="classes_tests.py">built-in classes</option>
  <option value="test_classes.py">classes</option>
  <option value="test_datetime.py">datetime</option>
  <option value="dom_objects.py">DOM</option>
  <option value="test_import.py">imports</option>
  <option value="issues.py">issues</option>
  <option value="test_list_methods.py">list methods</option>
  <option value="test_math.py">math</option>
  <option value="test_hashlib.py">hashlib</option>
  <option value="test_strings.py">strings</option>
</select>
</div>
  <div id="editor"></div>
</div>

<div id="center-div">
<div style="float:left; height:50%"></div>
<div style="clear:both;">
<button onClick="run()">run</button>
<p>
<button onClick="clear_text()">clear</button>
</div>
</div>

<div id="right-div">
<div style="padding: 3px 3px 3px 3px;">
  <button onClick="show_console()">Console</button>
  <button onClick="show_js()">Javascript</button>
</div>

<div style="width:100%;height:100%;">
<textarea id="console"></textarea>
</div>

</div>
</div>

</body>
</html>
